package es.us.idinfor.util;

import java.util.List;
import java.util.StringTokenizer;

import com.google.common.collect.Lists;

public class Util {
	public static List<String> splitElements(String str, String delim) {
		List<String> v = Lists.newArrayList();
		StringTokenizer st = new StringTokenizer(str, delim);
		
		while(st.hasMoreTokens()) {
			v.add(st.nextToken());
		}

		return v;
	}
}
